const mongoose = require('mongoose')
const md5 = require('../utils/md5')

const fileFolderSchema = new mongoose.Schema({
    allSheet: {
        type: Array,
        required: false,
        default: []
    },
    recentSheet: {
        type: Array,
        required: false,
        default: []
    },
    starredSheet: {
        type: Array,
        required: false,
        default: []
    },
    sharedSheet: {
        type: Array,
        required: false,
        default: []
    },
    author:{
        type: String,
        required: true,
    },
})

module.exports = fileFolderSchema